package com.fr.report.adhoc;

import com.fr.base.core.json.JSONObject;

public class ADHOCColumn extends SimpleADHOCColumn
  implements TransJSON
{
  public static int ASENDING = 1;
  public static int DESENDING = 2;
  public int sort = 0;

  public int getSort()
  {
    return this.sort;
  }

  public void setSort(int paramInt)
  {
    this.sort = paramInt;
  }

  public JSONObject createJSON()
    throws Exception
  {
    return null;
  }

  public void parseJSON(JSONObject paramJSONObject)
    throws Exception
  {
    super.parseJSON(paramJSONObject);
    setSort(paramJSONObject.getInt("sort"));
  }
}